<?php include("include/header.php");
?>
        <section id="content">
          <section class="hbox stretch">
            <section>
              <section class="vbox">
                <section class="scrollable padder">
                    <div class="m-b-md">
                      <h3 class="m-b-none"></h3>
                    </div>
                    <ul class="breadcrumb">
                        <li><a href="admin.php?c=main"><i class="fa fa-home"></i> 首页</a></li>
                        <li><a href="admin.php?c=user"><i class="fa fa-list-ul"></i> 账号权限管理</a></li>
                        <li class="active">管理员操作日志列表</li>
                    </ul>
                   

                    <section class="panel panel-default">
                      <header class="panel-heading">权限管理</header>
				    	<form id="form1"  name="form1" method="post" >

                      <table class="table table-striped m-b-none">
                        <thead>
                          <tr>
                            <th>序号</th>
                            <th>账号</th>
                            <th>密码</th>
                            <th>姓名</th>
                            <th>授权状态</th>
                            <th>账号类型</th>
                            <th width="80">操作</th>
                          </tr>
                        </thead>
                        <tbody>
                        <?php foreach($res as $row) {?>
                          <tr>
                            <td><?=$row['id']?></td>
                            <td><?=$row['account']?></td>
                            <td><?=$row['password']?></td>
                            <td><?=$row['username']?></td>
                            <td><?echo $row['sign']==1?"开启":"关闭"?></td>
                            <td><?php echo $row['user_type']==1?"普通账号":"高级账号"?></td>
                            <td class="text-right">
                              <div class="btn-group">
                                <a href="admin.php?c=user&m=edit&id=<?=$row['id']?>" class="dropdown-toggle"><i class="fa fa-pencil"></i></a>
                              </div>
                            </td>
                          </tr>
                         <?php }?>
                        </tbody>
                      </table>
					</table>
                    </form>
                    </section>
					<?=$pager?>
                    <!--<ul class="pagination pagination-sm m-t-none m-b-none">
                      <li><a href="#"><i class="fa fa-chevron-left"></i></a></li>
                      <li><a href="#">1</a></li>
                      <li><a href="#">2</a></li>
                      <li><a href="#">3</a></li>
                      <li><a href="#">4</a></li>
                      <li><a href="#">5</a></li>
                      <li><a href="#"><i class="fa fa-chevron-right"></i></a></li>
                    </ul>-->
                </section>
              </section>
            </section>
          </section>
        </section>
<?php include("include/footer.php");?>